﻿namespace NServiceBus.AcceptanceTests;

using AcceptanceTesting.Support;

public partial class TestSuiteConstraints
{
    public bool SupportsDtc => false;

    public bool SupportsCrossQueueTransactions => true;

    public bool SupportsNativePubSub => true;

    public bool SupportsDelayedDelivery => true;

    public bool SupportsOutbox => false;

    public bool SupportsPurgeOnStartup => true;

    public IConfigureEndpointTestExecution CreateTransportConfiguration() => new ConfigureEndpointAcceptanceTestingTransport(SupportsNativePubSub, SupportsDelayedDelivery, enforcePublisherMetadata: false);

    public IConfigureEndpointTestExecution CreatePersistenceConfiguration() => new ConfigureEndpointAcceptanceTestingPersistence();
}